package com.nineclock.system;

import com.nineclock.common.entity.Result;
import com.nineclock.system.dto.SysCompanyContactConfigDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 企业通讯录字段设置接口
 */
@Api(value = "企业通讯录字段配置管理", tags = "企业通讯录", description = "企业通讯录字段配置")
public interface SysCompanyContactConfigControllerApi {

    @ApiOperation(value = "添加通讯录字段")
    public Result addCompanyContactConfig(SysCompanyContactConfigDTO configDTO);

    @ApiOperation(value = "查询并初始化")
    public Result queryCompanyContactConfig();

    @ApiOperation(value = "修改状态")
    public Result updateCompanyContactConfigStatus(Long id,short status);

    @ApiOperation(value = "删除")
    public Result deleteCompanyContactConfig(Long id);

}